package com.juzipi.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import tk.mybatis.spring.annotation.MapperScan;


//服务调用方
@SpringBootApplication
//Mapper 接口的包扫描
@MapperScan("com.juzipi.demo.mapper")
//启用 Eureka 的客户端
//@EnableEurekaClient 这个也可以
@EnableDiscoveryClient
public class ProviderApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProviderApplication.class, args);
    }
}
